package com.buba.springcloud.mapper;

import com.buba.springcloud.entities.HfRegister;
import com.buba.springcloud.entities.HfStaff;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HfstafMapper {
    public List<HfStaff> getHfstaff(@Param("username") String username,@Param("name") String name);

    int addHfregister(HfRegister hfRegister);

    List<HfRegister> getRegister();

    int updRegister(@Param("id") long id);

    int addHfstaff(HfStaff hfStaff);

    HfRegister getHfregister(@Param("id") long id);

    int updHfregister(@Param("id") long id);
}
